(function(win) {
	//象棋列表 约定好象棋大小为30px
	//红方阵营兵种
	var redList=[{
			id:'red-0',
			camp: 'red',
			name: '车',
			chessType: 'car',
			location: {
				x: -15,
				y: -15
			},
			instance: null
		}, {
			id:'red-1',
			camp: 'red',
			name: '马',
			chessType: 'horse',
			location: {
				x: 35,
				y: -15
			},
			instance: null
		}, {
			id:'red-2',
			camp: 'red',
			name: '象',
			chessType: 'elephant',
			location: {
				x: 85,
				y: -15
			},
			instance: null
		}, {
			id:'red-3',
			camp: 'red',
			name: '士',
			chessType: 'guards',
			location: {
				x: 135,
				y: -15
			},
			instance: null
		},
		{
			id:'red-4',
			camp: 'red',
			name: '将',
			chessType: 'boss',
			location: {
				x: 185,
				y: -15
			},
			instance: null
		}, {
			id:'red-5',
			camp: 'red',
			name: '车',
			chessType: 'car',
			location: {
				x: 385,
				y: -15
			},
			instance: null
		}, {
			id:'red-6',
			camp: 'red',
			name: '马',
			chessType: 'horse',
			location: {
				x: 335,
				y: -15
			},
			instance: null
		}, {
			id:'red-7',
			camp: 'red',
			name: '象',
			chessType: 'elephant',
			location: {
				x: 285,
				y: -15
			},
			instance: null
		}, {
			id:'red-8',
			camp: 'red',
			name: '士',
			chessType: 'guards',
			location: {
				x: 235,
				y: -15
			},
			instance: null
		},
		{
			id:'red-9',
			camp: 'red',
			name: '炮',
			chessType: 'gun',
			location: {
				x: 35,
				y: 85
			},
			instance: null
		}, {
			id:'red-10',
			camp: 'red',
			name: '炮',
			chessType: 'gun',
			location: {
				x: 335,
				y: 85
			},
			instance: null
		}, {
			id:'red-11',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: -15,
				y: 135
			},
			instance: null
		}, {
			id:'red-12',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 35,
				y: 135
			},
			instance: null
		}, {
			id:'red-13',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 85,
				y: 135
			},
			instance: null
		}, {
			id:'red-14',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 135,
				y: 135
			},
			instance: null
		},
		{
			id:'red-15',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 185,
				y: 135
			},
			instance: null
		}, {
			id:'red-16',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 385,
				y: 135
			},
			instance: null
		}, {
			id:'red-17',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 335,
				y: 135
			},
			instance: null
		}, {
			id:'red-18',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 285,
				y: 135
			},
			instance: null
		}, {
			id:'red-19',
			camp: 'red',
			name: '兵',
			chessType: 'soldier',
			location: {
				x: 235,
				y: 135
			},
			instance: null
		}]
		//蓝方阵营兵种
		var blueList=[
			{		id:'blue-0',
					camp: 'blue',
					name: '车',
					chessType: 'car',
					location: {
						x: -15,
						y: 435
					},
					instance: null
				}, {id:'blue-1',
					camp: 'blue',
					name: '马',
					chessType: 'horse',
					location: {
						x: 35,
						y:  435
					},
					instance: null
				}, {id:'blue-2',
					camp: 'blue',
					name: '象',
					chessType: 'elephant',
					location: {
						x: 85,
						y:  435
					},
					instance: null
				}, {id:'blue-3',
					camp: 'blue',
					name: '士',
					chessType: 'guards',
					location: {
						x: 135,
						y: 435
					},
					instance: null
				},
				{id:'blue-4',
					camp: 'blue',
					name: '将',
					chessType: 'boss',
					location: {
						x: 185,
						y: 435
					},
					instance: null
				}, {
					id:'blue-5',
					camp: 'blue',
					name: '车',
					chessType: 'car',
					location: {
						x: 385,
						y: 435
					},
					instance: null
				}, {id:'blue-6',
					camp: 'blue',
					name: '马',
					chessType: 'horse',
					location: {
						x: 335,
						y: 435
					},
					instance: null
				}, {id:'blue-7',
					camp: 'blue',
					name: '象',
					chessType: 'elephant',
					location: {
						x: 285,
						y: 435
					},
					instance: null
				}, {id:'blue-8',
					camp: 'blue',
					name: '士',
					chessType: 'guards',
					location: {
						x: 235,
						y: 435
					},
					instance: null
				},
				{id:'blue-9',
					camp: 'blue',
					name: '炮',
					chessType: 'gun',
					location: {
						x: 35,
						y: 335
					},
					instance: null
				}, {id:'blue-10',
					camp: 'blue',
					name: '炮',
					chessType: 'gun',
					location: {
						x: 335,
						y: 335
					},
					instance: null
				}, {id:'blue-11',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: -15,
						y: 285
					},
					instance: null
				}, {id:'blue-12',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 35,
						y: 285
					},
					instance: null
				}, {id:'blue-13',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 85,
						y: 285
					},
					instance: null
				}, {id:'blue-14',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 135,
						y: 285
					},
					instance: null
				},
				{id:'blue-15',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 185,
						y: 285
					},
					instance: null
				}, {id:'blue-16',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 385,
						y: 285
					},
					instance: null
				}, {id:'blue-17',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 335,
						y: 285
					},
					instance: null
				}, {id:'blue-18',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 285,
						y: 285
					},
					instance: null
				}, {id:'blue-19',
					camp: 'blue',
					name: '兵',
					chessType: 'soldier',
					location: {
						x: 235,
						y: 285
					},
					instance: null
				}
		]
	win.chessList = redList.concat(blueList)
})(window)
